/***********************************************************************
* Copyright  2023 客户公司名称
* @URL: 
* @ProjectName: 项目名称
* @Description: 功能描述
* Modification Log :
------------------------------------------------------------------------
* Developer                   Date                   Description
* ----------------------------------------------------------------------
* name 陈秋雨			2023-10-31      查询客户的id，name，accountsource，type，website 
***********************************************************************/
public with sharing class SerchAccountController {

    @AuraEnabled
    public static List<Account> getMyAccounts(String searchKeyWord){
        List<Account> myAccounts = new List<Account>();
        myAccounts = [SELECT Id
                            ,Name
                            ,AccountSource
                            ,Type
                            ,Website
                            FROM Account
                            WHERE Name LIKE :'%'+searchKeyWord+'%'
                            ];
         return myAccounts;
    }
   
}